package com.dissertation.service;
import com.dissertation.pojo.IndexStatisticWrapBean;
import com.dissertation.pojo.YearStatisticWrapBean;

import java.util.List;

public interface IStatisticsService {

    /**
     * 根据二级目录获取统计信息
     * @param categoryTreeName 可能为空
     * @return
     */
    List<IndexStatisticWrapBean> groupByCategoryTree( String categoryTreeName );

    /**
     * 按月分组
     * @param categoryTreeName
     * @return
     */
    List<YearStatisticWrapBean> getCountMonth( String categoryTreeName );



}
